package com.nanjia.boot.warehouse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.warehouse.model.entity.Warehouse;
import com.nanjia.boot.warehouse.model.query.WarehouseQuery;
import com.nanjia.boot.warehouse.model.vo.WarehouseVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 仓库信息Mapper接口
 *
 * @author 周洋
 * @since 2025-07-04 15:08
 */
@Mapper
public interface WarehouseMapper extends BaseMapper<Warehouse> {

    /**
     * 获取仓库信息分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<WarehouseVO>} 仓库信息分页列表
     */
    Page<WarehouseVO> getWarehousePage(Page<WarehouseVO> page, WarehouseQuery queryParams);

}
